package router

import (
	"go_stu_gin/control"
	"go_stu_gin/middleware"

	"github.com/gin-gonic/gin"
)

func InitBaseRouter(Router *gin.RouterGroup) {
	initBaseRouter := Router.Group("base").Use(middleware.Auth())
	{
		initBaseRouter.GET("base_ping", control.BasePing)
		initBaseRouter.GET("getUserInfo", control.GetUserInfo)
	}
}
